package com.huatech.core.service;

import java.util.Date;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestSchedule {
	
	
	@Scheduled(fixedDelay = 2000)
	public void log(){
		System.out.println("["+new Date() +"]--");
	}
	

}
